package com.exam.role.model;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * Role entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Role implements java.io.Serializable
{

	// Fields

	private Integer id;
	private String name;
	private String remarks;
	private List<RoleModule> roleModules = new ArrayList<RoleModule>(0);
	// Constructors

	/** default constructor */
	public Role()
	{
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getRemarks()
	{
		return this.remarks;
	}

	public void setRemarks(String remarks)
	{
		this.remarks = remarks;
	}

	public List<RoleModule> getRoleModules() {
		return roleModules;
	}

	public void setRoleModules(List<RoleModule> roleModules) {
		this.roleModules = roleModules;
	}
}